﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XsqTech.SmartOA.Domain.Table;
using XsqTech.SmartOA.Dtos.DTO;
using XsqTech.SmartOA.IRespository.Base;

namespace XsqTech.SmartOA.IRespository
{
    public interface IDepartmentRespository:IBaseRespository<Department>
    {
        /// <summary>
        /// 部门添加
        /// </summary>
        /// <param name="department"></param>
        /// <returns></returns>
        MsgResponse<AddDepartmentsDto> DepartmentRespositoryAdd(AddDepartmentsDto department);

        int AddDepartmentsUser(Guid DepId, string Id);
    }
    public interface IDepartmentUserRespository : IBaseRespository<DepartmentUser>
    {
    }
}
